package com.kma.summer2012.dao;

import com.kma.summer2012.model.CrumbsPosition;

import java.sql.SQLException;
import java.util.Collection;

public interface CrumbsPositionDAO extends DAO<CrumbsPosition> {
    public void add(CrumbsPosition o) throws SQLException;

    public void update(CrumbsPosition o) throws SQLException;

    public CrumbsPosition getById(int id) throws SQLException;

    public Collection<CrumbsPosition> getAll() throws SQLException;

    public void delete(CrumbsPosition o) throws SQLException;
}
